<ion-header>
  <ion-toolbar color="primary">
    <ion-buttons slot="start">
      <ion-back-button></ion-back-button>
    </ion-buttons>
    <ion-title>{{cbankname}}</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content >
  <ion-list>
  <ion-item *ngIf="items.length == 0">
    <span style="width:200px;text-align:center;color:Red;margin: 0px auto">暂无数据</span>
  </ion-item>
  <ion-item *ngFor="let item of items;let i=index" (click)="goToDetails(item.iid)">
    {{i+1}}.{{item.cname}} 
  </ion-item>
</ion-list>
<ion-infinite-scroll (ionInfinite)="doUpRefresh($event)">
  <ion-infinite-scroll-content loadingText="正在加载数据" loadingSpinner="bubbles"></ion-infinite-scroll-content>
</ion-infinite-scroll>
</ion-content>
